package com.raja.servingStation.controller.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by dell on 2017/4/5.
 */
@Controller
public class IndexController extends BaseController{

    /**
     * 首页
     * @param request
     * @param response
     * @return
     */
    @RequestMapping(value = "/index")
    public String index(HttpServletRequest request, HttpServletResponse response){
        try {
        } catch (Exception e) {
            e.printStackTrace();
        }
        return "/common/index";
    }

    @RequestMapping(value = "/top")
    public String top(HttpServletRequest request ,HttpServletResponse response){
        return "/common/top";
    }

    @RequestMapping(value = "/left")
    public String left(HttpServletRequest request ,HttpServletResponse response){
        return "/common/left";
    }

    @RequestMapping(value = "/order")
    public String order(HttpServletRequest request ,HttpServletResponse response){
        return "/common/order";
    }
}
